GtkScrolledWindow: Introduce a helper function
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 Oct 2014 02:59:07 +0000 (22:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 10 Oct 2014 01:03:40 +0000 (21:03 -0400)
commit4e974edde854b40f6f10ef8e3f423eb50ecb2ade
treeb1e55b9b79bbb179b9b896839d374812fb6490ef
parent9dcb33ad344d00c5548cb2bc1479dcda9e4580aa
GtkScrolledWindow: Introduce a helper function

Instead of making assumptions about enum value ordering,
introduce a helper function to determine policy values
for which the scrollbar may be visible.
gtk/gtkscrolledwindow.c